package com.haixiaoke.saas.repository.mapper;

import com.haixiaoke.saas.repository.pojo.OrderWechatRefundRecord;

import java.util.List;

/**
 * 订单退款回调记录Mapper接口
 * 
 * @author panda
 * @date 2023-05-05
 */
public interface OrderWechatRefundRecordMapper {
    /**
     * 查询订单退款回调记录
     * 
     * @param id 订单退款回调记录主键
     * @return 订单退款回调记录
     */
    OrderWechatRefundRecord selectOrderWechatRefundRecordById(Long id);

    /**
     * 查询订单退款回调记录列表
     * 
     * @param orderWechatRefundRecord 订单退款回调记录
     * @return 订单退款回调记录集合
     */
    List<OrderWechatRefundRecord> selectOrderWechatRefundRecordList(OrderWechatRefundRecord orderWechatRefundRecord);

    /**
     * 新增订单退款回调记录
     * 
     * @param orderWechatRefundRecord 订单退款回调记录
     * @return 结果
     */
    int insertOrderWechatRefundRecord(OrderWechatRefundRecord orderWechatRefundRecord);

    /**
     * 修改订单退款回调记录
     * 
     * @param orderWechatRefundRecord 订单退款回调记录
     * @return 结果
     */
    int updateOrderWechatRefundRecord(OrderWechatRefundRecord orderWechatRefundRecord);

    /**
     * 删除订单退款回调记录
     * 
     * @param id 订单退款回调记录主键
     * @return 结果
     */
    int deleteOrderWechatRefundRecordById(Long id);

    /**
     * 批量删除订单退款回调记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteOrderWechatRefundRecordByIds(Long[] ids);
}
